package com.alstudio.utils.android.media.audio.recorder;

import java.io.Serializable;

import android.view.View;
import android.widget.PopupWindow;
import android.widget.ProgressBar;
import android.widget.TextView;

import com.alstudio.view.ViewUtils;

public class ALAudioRecordTaskInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1293381622151616769L;

	private PopupWindow mWindow;
	private View press_to_recall, play, press_to_save, press_to_talk,
			icon_close, rec_layout;
	private ProgressBar recording_beat;
	private TextView record_time, price, negative_button, postive_button;

	public PopupWindow getWindow() {
		return mWindow;
	}

	public void setWindow(PopupWindow mWindow) {
		this.mWindow = mWindow;
	}

	public View getPressToRecallView() {
		return press_to_recall;
	}

	public void setPressToRecallView(View press_to_recall) {
		this.press_to_recall = press_to_recall;
	}

	public View getPlayView() {
		return play;
	}

	public void setPlayView(View play) {
		this.play = play;
	}

	public View getPressToSaveView() {
		return press_to_save;
	}

	public void setPressToSaveView(View press_to_save) {
		this.press_to_save = press_to_save;
	}

	public View getPressToTalkView() {
		return press_to_talk;
	}

	public void setPressToTalkView(View press_to_talk) {
		this.press_to_talk = press_to_talk;
	}

	public View getCloseIconView() {
		return icon_close;
	}

	public void setCloseIconView(View icon_close) {
		this.icon_close = icon_close;
	}

	// 波形
	public ProgressBar getRecordingBeatView() {
		return recording_beat;
	}

	public void setRecordingBeatView(ProgressBar recording_beat) {
		this.recording_beat = recording_beat;
	}

	public TextView getRecordTimeView() {
		return record_time;
	}

	public void setRecordTimeView(TextView record_time) {
		this.record_time = record_time;
	}

	public void setSaveButtonLayout(View layout) {
		this.rec_layout = layout;
	}

	public View getSaveButtonLayout() {
		return this.rec_layout;
	}

	public void setSecondInfo(String info) {
		this.price.setText(info);
		ViewUtils.showView(price);
	}

	public TextView getSecondInfo() {
		return this.price;
	}

	public void setPostiveButtonName(String name) {
		this.postive_button.setText(name);
	}

	public TextView getPostiveButtonName() {
		return this.postive_button;
	}

	public void setNegativeButtonName(String name) {
		this.negative_button.setText(name);
	}

	public TextView getPrice() {
		return price;
	}

	public void setPrice(TextView price) {
		this.price = price;
	}

	public TextView getNegative_button() {
		return negative_button;
	}

	public void setNegative_button(TextView negative_button) {
		this.negative_button = negative_button;
	}

	public TextView getPostive_button() {
		return postive_button;
	}

	public void setPostive_button(TextView postive_button) {
		this.postive_button = postive_button;
	}

}
